Ext.define('js.store.ranInsOfProQui.RandomInspectionOfQualityAssuranceSystemStore', {
    extend: 'Ext.data.Store',
    requires: ['js.Util'],
    alias: 'store.supplierListStore',
    autoLoad: true,
    fields: [
        'check_id',//工程质量抽查id
        'unit_type',//对象单位
        'unit_name ',
        'check_details',//抽查详情记录
        'check_result',//是否需要整改
        'check_num ',
        'rectification_notice',//整改通知单
        'rectification_reply',//整改回复
        'reply_result',
        'rectification_date',//整改完成时间
        'remarks',//备注
        'check_date',//抽查日期
        'check_type',//抽查类型
        'user_name',//抽查人
        'user_ids',//抽查id


    ],
    remoteSort: true,
    proxy: {
        simpleSortMode: true,
        type: 'ajax',
        url: 'qualityCheckRoutes',
        extraParams: {
            action_type: 'qualityCheckQuery'
        },
        actionMethods: {read: 'GET'},
        reader: {root: 'data', totalProperty: 'totalCount',regionCount: 'setArgs'}
    }
});



/*
Ext.define('js.store.ranInsOfProQui.RandomInspectionOfQualityAssuranceSystemStore', {
    extend: 'Ext.data.Store',
    alias: 'store.RandomInspectionOfQualityAssuranceSystemStore',
    data: [{
        "data_time": "2019-06-05",
        "Object_unit": "建设单位",
        "ISEDITED": "是",
        "memberReply": "是",
        "spot_check_person": "Jean"
    }, {
        "data_time": "2019-06-05",
        "Object_unit": "建设单位",
        "ISEDITED": "否",
        "memberReply": "是",
        "spot_check_person": "张三"
    }, {
        "data_time": "2019-06-05",
        "Object_unit": "建设单位",
        "ISEDITED": "是",
        "memberReply": "是",
        "spot_check_person": "里斯"
    }, {
        "data_time": "2019-06-05",
        "Object_unit": "建设单位",
        "ISEDITED": "否",
        "memberReply": "是",
        "spot_check_person": "张三"
    }, {
        "data_time": "2019-06-05",
        "Object_unit": "建设单位",
        "ISEDITED": "否",
        "memberReply": "否",
        "spot_check_person": "李四"
    }, {
        "data_time": "2019-06-05",
        "Object_unit": "建设单位",
        "ISEDITED": "否",
        "memberReply": "否",
        "spot_check_person": "张三"
    }, {
        "data_time": "2019-06-05",
        "Object_unit": "建设单位",
        "ISEDITED": "是",
        "memberReply": "是",
        "spot_check_person": "里斯"
    }, {
        "data_time": "2019-06-05",
        "Object_unit": "建设单位",
        "ISEDITED": "否",
        "memberReply": "是",
        "spot_check_person": "张三"
    }, {
        "data_time": "2019-06-05",
        "Object_unit": "建设单位",
        "ISEDITED": "否",
        "memberReply": "否",
        "spot_check_person": "李四"
    }, {
        "data_time": "2019-06-05",
        "Object_unit": "建设单位",
        "ISEDITED": "否",
        "memberReply": "否",
        "spot_check_person": "张三"
    }]












    /!*   extend: 'Ext.data.Store',
       requires: ['js.Util'],
       alias: 'store.supplierListStore',
       autoLoad: true,
       fields: [
           'purchased_id',
           'goods_name',
           'specification_name',
           'product_num',
           'make',
           'specifications',
           'remark',
           'product_name',
           'delivery_date',
           'enterprise_name',
           'supper_listA',
           'supper_listB',
           'status',
           'dataTotal',
           'pageTotal',

       ],
       remoteSort: true,
       proxy: {
           simpleSortMode: true,
           type: 'ajax',
           url: 'orderRouters',
           extraParams: {
               action_type: 'orderQuery'
           },
           actionMethods: {read: 'GET'},
           reader: {root: 'data', totalProperty: 'totalCount',regionCount: 'setArgs'}
       }*!/
});*/


